package org.taobao.lxw.bean;

import org.apache.ibatis.type.Alias;
import org.taobao.dq.bean.User;

@Alias("comments")
public class Comments {
	Integer id;
	Integer oid;
	String time;
	String content;
	User user;
	Goods goods;
	
	
	
	public Integer getId() {
		return id;
	}



	public void setId(Integer id) {
		this.id = id;
	}



	public Integer getOid() {
		return oid;
	}



	public void setOid(Integer oid) {
		this.oid = oid;
	}



	public String getTime() {
		return time;
	}



	public void setTime(String time) {
		this.time = time;
	}



	public String getContent() {
		return content;
	}



	public void setContent(String content) {
		this.content = content;
	}



	public User getUser() {
		return user;
	}



	public void setUser(User user) {
		this.user = user;
	}



	public Goods getGoods() {
		return goods;
	}



	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	


	public Comments(Integer id, Integer oid, String time, String content, User user, Goods goods) {
		super();
		this.id = id;
		this.oid = oid;
		this.time = time;
		this.content = content;
		this.user = user;
		this.goods = goods;
	}



	@Override
	public String toString() {
		return "Comments [id=" + id + ", oid=" + oid + ", time=" + time + ", content=" + content + ", user=" + user
				+ ", goods=" + goods + "]";
	}



	public Comments() {
		super();
	}
	
	
}
